﻿using System;
using System.Configuration;
namespace myFunction.UserSettings
{
    /// <summary>
    /// 自定义应用程序调置功能类
    /// Modify By : Quian 
    /// Date: 2013-08-05
    /// </summary>
    sealed  class myUserSetting :  ApplicationSettingsBase
    {
        //服务器名
        [UserScopedSettingAttribute ( )]
        public String DefaultServer
        {
            get { return (String)this["DefaultServer"]; }
            set { this["DefaultServer"] = value; }
        }
        
        //数据库名
        [UserScopedSettingAttribute()]
        public String DefaultDatabase
        {
            get { return (String)this["DefaultDatabase"]; }
            set { this["DefaultDatabase"] = value; }
        }
        
        //用户名
        [UserScopedSettingAttribute()]
        public String DefaultUser
        {
            get { return (String)this["DefaultUser"]; }
            set { this["DefaultUser"] = value; }
        }
        ////最后日线导入日期
        //[UserScopedSettingAttribute ( )]
        //[DefaultSettingValueAttribute ("2013-7-01")]
        //public String LastDateLine
        //{
        //    get { return (String)this["LastDateLine"]; }
        //    set { this["LastDateLine"] = value; }
        //}
    }
}
